|
Interaction of controls Via using script, you can easily incarnate the logic of the dialogue form’s work, for example, its controls’ interaction. Let us illustrate this by a simple example. Modify the form in the following way:
Double click on the "CheckBox" object, so that the "OnClick" event handle would be created, and then write the following script: procedure CheckBox1OnClick(Sender: TfrxComponent); As you can see, the code does not differ much from the one, which we used to see in Delphi. When running the report, you would see that the button responds on the flag condition’s modification. |